"use strict";

define(["app", "../controllers/contactsController"], function (app) {
   app.config(function ($stateProvider, $urlRouterProvider) {
       $stateProvider.state("home", {
           templateUrl: "/partials/home.html",
           url: "/"
       }).state("contacts", {
           controller: "contactsController",
           templateUrl: "/partials/contacts.html",
           url: "/contacts"
       });
       $urlRouterProvider.otherwise("/");
   });
});